British chemist and physicist who established that water is a compound of hydrogen and oxygen and who calculated the density of the earth (1731-1810)